<template>
	<div class="index_div">
		<h1>房屋搜索管理系统</h1>
		<div>
			<el-button type="primary" @click="goPage('/HouseInsert')">新增房屋</el-button>
			<el-button type="success" @click="goPage('/HouseSearch')">地图搜房</el-button>
		</div>
	</div>
</template>

<script>
	export default {
		methods: {
			goPage(url){
				this.$router.push(url);
			}
		}
	}
</script>

<style>
	.index_div {
		display: flex;
		flex-direction: column;
		justify-content: space-evenly;
		align-items: center;
	}
</style>